<template>
  <el-button @click="test">request</el-button>
</template>

<script setup lang="ts">
import {useMorghulisRequest} from "../../morghulis/hooks/request.ts";
import {ref} from "vue";

const {getHttpRequest} = useMorghulisRequest()
const request = getHttpRequest()

function test() {
  request.post('test').then(res => {
    console.log(res)
  })

}


</script>

<style scoped>

</style>